// src/components/c-follower/index.js
import {
  formatDate
}from '../../../utils/index.js'
Component({
  /**
   * 组件的属性列表
   */
  options: {
    multipleSlots: true 
  },
  properties: {
    faceImg:String,
    nickName:String,
    addTime: String,
    userType:Number,
    parentId:String
  },

  /**
   * 组件的初始数据
   */
  data: {
    nowDate:new Date(),
    formatDate:''
  },
  attached: function () {
    

  },

  /**
   * 组件的方法列表
   */
  methods: {
    contact() {
      this.triggerEvent('contact', this.properties.parentId, {})
    }
  }
})
